Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ImmutableSegmentedDictionary for faster lookup in AnalyzerDriver #51535

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

sharwell
Copy link
Member

This dictionary is constructed once, never modified, and used in read-heavy scenarios. Conversion to ImmutableSegmentedDictionary<TKey, TValue> improves performance with no loss of clarity.

@Youssef1313

This comment has been minimized.

@sharwell
Copy link
Member Author

sharwell commented Mar 1, 2021

@dotnet/roslyn-compiler for reviews

1 similar comment
@sharwell
Copy link
Member Author

sharwell commented Mar 2, 2021

@dotnet/roslyn-compiler for reviews

@sharwell sharwell merged commit a82af00 into dotnet:master Mar 2, 2021
@sharwell sharwell deleted the faster-lookup branch March 2, 2021 18:52
@ghost ghost added this to the Next milestone Mar 2, 2021
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants